/*
 * Copyright 2003-2007 (c) Live Media Pty Ltd. <argot@einet.com.au> 
 *
 * This software is licensed under the Argot Public License 
 * which may be found in the file LICENSE distributed 
 * with this software.
 *
 * More information about this license can be found at
 * http://www.einet.com.au/License
 * 
 * The Developer of this software is Live Media Pty Ltd,
 * PO Box 4591, Melbourne 3001, Australia.  The license is subject 
 * to the law of Victoria, Australia, and subject to exclusive 
 * jurisdiction of the Victorian courts.
 */

package com.colony.stub;

import com.colony.remote.RemoteException;

public interface ITestClass 
{
	public static final String TYPENAME = "test";
	
	public int doSomething( int x );
	
	/*
	 * Method not declared in interface dictionary.
	 */
	public int invalidMethod( int x ) throws RemoteException;
	
	/*
	 * 
	 */
	public int methodWithException( int x ) throws RemoteException;
	
	/*
	 * How does it handle a runtime exception on the server.
	 */
	public void methodUndeclaredException();
	
	/*
	 * How does it handle a custom exception.
	 */
	public void methodCustomException() throws TestException, RemoteException;
	
	public void methodNoReturn( int x );
	
	public void methodNoParam();
	
	public void methodComplexParam( TestValue value );
	
	public TestValue methodComplexReturn( int x );
	
}
